package interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

public interface OrdreInterface extends Remote {

    public void addItem(KurvItemInterface item) throws RemoteException;
        
    public ArrayList<KurvItemInterface> getVareListe() throws RemoteException;
    
    public int getOrdreID() throws RemoteException;
            
    public String getfNavn() throws RemoteException;

    public boolean isBetalt() throws RemoteException;

    public void setBetalt(boolean betalt) throws RemoteException;
    
    public void setModtaget(boolean modtaget) throws RemoteException;    
    
    public boolean isModtaget() throws RemoteException;
    
     public int getSum() throws RemoteException;

    public void setSum(int sum) throws RemoteException;       
     
}

